package com.yykj.drup.server.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.yykj.drup.server.model.Order;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author zengg
 * @since 2022-03-30
 */
@Mapper
public interface OrderDao extends BaseMapper<Order> {

    List<Order> findOrdersPage(IPage page, @Param("orderNum") String orderNum, @Param("orderStatus") Integer orderStatus,@Param("consultUserId") String consultUserId);

    Order findOrderDeteilsById(Integer orderSysId);


}
